//
//  XSQBaseTBC.m
//  BuDeJie
//
//  Created by Sem on 2018/6/28.
//  Copyright © 2018年 SEM. All rights reserved.
//

#import "XSQBaseTBC.h"

@interface XSQBaseTBC ()

@end

@implementation XSQBaseTBC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}
-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    [SVProgressHUD dismiss];
    if(self.mgr){
        [[self.mgr tasks] makeObjectsPerformSelector:@selector(cancel)];
    }
    
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
